package com.echo;
import com.echo.aichat.infrastructure.code.CodeAssistantProperties;
import lombok.extern.slf4j.Slf4j;
import org.babyfish.jimmer.client.EnableImplicitApi;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication(scanBasePackages = {"com.echo", "io.qifan.infrastructure"})
@EnableTransactionManagement //开启注解方式的事务管理
@Slf4j //开启日志输出
@EnableCaching//开发缓存注解功能
@EnableScheduling //开启任务调度
@EnableImplicitApi
@EnableConfigurationProperties(CodeAssistantProperties.class)
public class WisdomCloudApplication {
    public static void main(String[] args) {
        SpringApplication.run(WisdomCloudApplication.class, args);
        log.info("boot：启动！");
    }
}
